﻿using BCCommon.Enums;
using BCCommon.Extensions;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCDto.TMS.Agent.AgentApplicationRecord
{
    /// <summary>
    /// 代理商申请区域信息
    /// </summary>
    public class AgentApplicationRequestAreaDto
    {
        /// <summary>
        /// 省Id
        /// </summary>
        [Display(Name = "省Id")]
        [Required(ErrorMessage = "{0} 为必填项")]
        public long ProvinceId { get; set; }

        /// <summary>
        /// 省编码
        /// </summary>
        [Display(Name = "省编码")]
        public string ProvinceCode { get; set; }

        /// <summary>
        /// 省名称
        /// </summary>
        [Display(Name = "省名称")]
        public string ProvinceName { get; set; }

        /// <summary>
        /// 市Id
        /// </summary>
        [Display(Name = "市Id")]
        [Required(ErrorMessage = "{0} 为必填项")]
        public long CityId { get; set; }

        /// <summary>
        /// 市编码
        /// </summary>
        [Display(Name = "市编码")]
        public string CityCode { get; set; }

        /// <summary>
        /// 市名称
        /// </summary>
        [Display(Name = "市名称")]
        public string CityName { get; set; }

        /// <summary>
        /// 区Id
        /// </summary>
        [Display(Name = "区Id")]
        [Required(ErrorMessage = "{0} 为必填项")]
        public long CountyId { get; set; }

        /// <summary>
        /// 区编码
        /// </summary>
        [Display(Name = "区编码")]
        public string CountyCode { get; set; }

        /// <summary>
        /// 区名称
        /// </summary>
        [Display(Name = "区名称")]
        public string CountyName { get; set; }
    }
}
